/**
 * ErrorBase.cpp
 *
 *  Description : Class to use as a base class for exception classes. It attaches the backtrace to the error message.
 */

#ifndef ERRORBASE_HPP_
#define ERRORBASE_HPP_

#include <stdexcept>

namespace btexc
{

class ErrorBase : public std::runtime_error
{
public:

	explicit ErrorBase( const std::string & errText );

};

} /* namespace btexc */

#endif /* ERRORBASE_HPP_ */

